<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>Document</title>
		<style>
			#demo{
				font-size: 50px;
			}
		</style>
		<!-- <meta name="viewport" content="width=device-width"/> -->
		<!-- <meta name="viewport" content="width=device-width,initial-scale=1.0"/> -->
		<!-- <meta name="viewport" content="maximum-scale=1.0"/> -->
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
	</head>
	<body>
		<div id="demo"></div>
		<script type="text/javascript" >
			setInterval(()=>{
				const demo = document.getElementById('demo')
				const shiJueWidth = window.innerWidth
				demo.innerHTML = '当前设备的视觉视口宽度为：'+shiJueWidth
			},200)
		</script>
	</body>
</html>